package com.jie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jie.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jie.utility.QueryInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jie
 * @since 2023-12-05
 */
public interface AdminService extends IService<Admin> {
    /**
     * 分页查询用户信息
     * @param queryInfo
     * @return
     */
    Page selectAllAdmin(QueryInfo queryInfo,Admin admin);

    boolean addadmin(Admin admin);

    boolean updateAdmin(Admin admin);

    boolean delAdmin(Admin admin);

    Page selectAdmin(QueryInfo queryInfo,Admin admin);
}
